import { CommonModule } from '@angular/common';
import { Component } from '@angular/core';
import { NzCollapseModule } from 'ng-zorro-antd/collapse';

@Component({
  selector: 'app-collapse-basic-demo',
  standalone: true,
  imports: [NzCollapseModule, CommonModule],
  templateUrl: './collapse-basic-demo.component.html',
  styleUrl: './collapse-basic-demo.component.less',
})
export class CollapseBasicDemoComponent {
  panels = [
    {
      active: true,
      name: 'This is panel header 1',
      disabled: false,
    },
    {
      active: false,
      disabled: false,
      name: 'This is panel header 2',
    },
    {
      active: false,
      disabled: true,
      name: 'This is panel header 3',
    },
  ];
}
